package com.cloud.api.domain.tsp;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 * OLAP
 * </p>
 *
 * @author haohaibo
 * @since 2023-12-01
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_vehicle_login")
@Schema(name = "VehicleLogin", description = "OLAP")
public class VehicleLogin implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "车辆登入时间")
    @TableField("login_time")
    private LocalDateTime loginTime;

    @Schema(description = "车辆登入流水号")
    @TableField("login_serial_number")
    private Integer loginSerialNumber;

    @Schema(description = "车辆登入时间")
    @TableField("dt")
    private LocalDate dt;

    @Schema(description = "车辆vin")
    @TableField("vin")
    private String vin;

    @Schema(description = "ICCID")
    @TableField("iccid")
    private String iccid;

    @Schema(description = "可充电储能子系统数")
    @TableField("rechargeable_subsystems_count")
    private Short rechargeableSubsystemsCount;

    @Schema(description = "可充电子系统编码长度")
    @TableField("rechargeable_subsystems_length")
    private Short rechargeableSubsystemsLength;

    @Schema(description = "可充电储能系统编码集合")
    @TableField("rechargeable_subsystems_codes")
    private Object rechargeableSubsystemsCodes;

    @Schema(description = "车辆登入报文")
    @TableField("record")
    private String record;

    @Schema(description = "车辆登入报文长度",hidden = true)
    @TableField(exist = false)
    private Integer recordLength;
}
